package com.tedu.bill.demo4;

/**
 * Author：毕龙
 * Date: 2024/5/24 19:02
 */
public class NumberBeans extends Thread {
    private static int beans = 0;

    @Override
    public void run() {
        beans++;
        System.out.println(Thread.currentThread().getName()+"\t"+beans);
    }
}
